package com.eastdigit.bpm.service;

import java.util.Map;

import net.sf.json.JSONObject;

import com.eastdigit.bpm.model.FormEntity;

/**
 * Created by Administrator on 2015/10/14.
 */
public interface IFormService<T extends FormEntity> {

    T add(Map<String, String> properties)throws Exception;

    void update(Map<String, String> properties);

    JSONObject toJSONObject(String id);
    
    void delete(String id);
}
